<div class="clear"></div>
    </div>
    <?php if ($LOGGED) { ?>
    <div id="left-container">
      
      <ul>
        <li title="<?php echo T_('Here are the albums that you have in your favorites'); ?>"><a href="#fragment-1"><span><?php echo T_("Favorites albums"); ?></span></a></li>
        <li title="<?php echo T_('Here are the users that you have in your favorites'); ?>"><a href="#fragment-2"><span><?php echo T_("Favorites users"); ?></span></a></li>
        <li title="<?php echo T_('Here are your last visited albums'); ?>"><a href="#fragment-3"><span><?php echo T_("Last visited"); ?></span></a></li>
    </ul>
    <div id="fragment-1">
      <div class="fragment-desc"><?php echo T_('Here are the albums that you have in your favorites'); ?></div>
        
        <?php 
          foreach ($user->FavoritesAlbums as $album) {
            printf('<a href="%salbum.php?idAlbum=%d">%s</a><br />',WebRoot, $album->idAlbum, $album->Name);
          }
        ?> 
    </div>
    <div id="fragment-2">
      <div class="fragment-desc"><?php echo T_('Here are the users that you have in your favorites'); ?></div>
        <?php 
          foreach ($user->FavoritesUsers as $user) {
            printf('<a href="%suserAlbums.php?idUser=%d">%s</a><br />',WebRoot, $user->idUser, $user->UserName);
          }
        ?> 
    </div>
    <div id="fragment-3">
      <div class="fragment-desc"><?php echo T_('Here are your last visited albums'); ?></div>
       -- not yet implemented --
    </div>

       
    </div> <div class="clear"></div><?php } ?>
    </div>
   
    <div id="footer">
      <?php echo ProjectName; ?> &copy; 2011 &there4; 
      <span id="languages">
      <?php
        $languages = new Language();
        $languages = $db->getRepository('Language')->findAll();
             
        foreach ($languages as $value) {
            printf('<a href="%scontrollers/setlang.php?lang=%s">',WebRoot, $value->Language);
            printf('<img src="%s" alt="%s" title="%s" />', WebRoot.$value->FlagUNC, $value->FullName, $value->FullName);
            printf('<span%s>%s</span></a>', ($value->Language == $locale) ? ' style="font-weight:bold"' : '', $value->FullName);
          
        }
      ?>      
      </span>
    </div>
  </div> 
</body>
</html>